package aes.general;

import java.util.ArrayList;


/**
 * The Class Teacher.
 */
public class Teacher extends UserEntity {

	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;
	
	/** The Sid. */
	private static   ArrayList<String> Sid;
	
	/** The Sname. */
	private static   ArrayList<String> Sname;

	/** The T id. */
	private static String TId;
	
	/**
	 * Instantiates a new teacher.
	 *
	 * @param id the id
	 * @param fname the first name
	 * @param lname the last name
	 * @param pass the password
	 * @param phone the phone number
	 * @param email the email address
	 * @param sid the subject id
	 * @param sname the subject name
	 */
	public Teacher(String id, String fname, String lname, String pass,
			String phone, String email, ArrayList<String> sid, ArrayList<String> sname) {
		super(id, fname, lname, pass, phone, email);
		TId = id;
		this.Sid = sid;
		this.Sname = sname;
		
	}

	/**
	 * Gets the subject id.
	 *
	 * @return the subject id
	 */
	public static  ArrayList<String> getSid() {
		return Sid;
	}

	/**
	 * Sets the subject id.
	 *
	 * @param subjects the new subject id
	 */
	public void setSid(ArrayList<String> subjects) {
		Sid = subjects;
	}

	/**
	 * Gets the sname.
	 *
	 * @return the sname
	 */
	public static  ArrayList<String> getSname() {
		return Sname;
	}

	/**
	 * Sets the sname.
	 *
	 * @param sname the new sname
	 */
	public void setSname(ArrayList<String> sname) {
		Sname = sname;
	}
	
	/**
	 * Gets the teacher id.
	 *
	 * @return the teacher id
	 */
	public static String getTeacherID(){
		return TId;
	}
	
}
